package com.umpay.dto.spay;

import com.umpay.annotation.Pattern;

public class Mer {

    private int id;
    @Pattern
    private String name;
    private Long amount;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Mer [id=" + id + ", name=" + name + ", amount=" + amount + "]";
    }

}
